<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>JFinal-基本增删改查 表单</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
  </head>
  
  <body>
   <form action="/blog/save" method="post" enctype="multipart/form-data">
   <input type="file" name="img">
   <br>
   <input type="hidden" name="blog.id" value="${blog.id }">
   	<input type="text" name="blog.title" value="${blog.title }">
   	<br>
   	<textarea style="width: 600px;height: 200px;" name="blog.content">${blog.content }</textarea>
   	<br>
   	<input type="submit" value="确认提交">
   </form>
  </body>
</html>
